<%--
  Created by IntelliJ IDEA.
  User: 13044
  Date: 2020/10/28
  Time: 14:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>餐饮注册</title>
    <link rel="stylesheet" href="../css/myCenter.css">
    <script src="../js/register.js"></script>
</head>
<body>
<div>${result}</div>
<div>
    <form action="/register" method="post">
        <div>
            <div>用户名</div>
            <div><input type="text" name="username" required pattern="^[a-zA-Z]\w{5,15}$"></div>
        </div>
        <div>
            <div>密码</div>
            <div><input type="password" name="password" required pattern="^[a-zA-Z]\w{5,15}$"></div>
        </div>
        <div>
            <div>重输</div>
            <div><input type="password" required pattern="^[a-zA-Z]\w{5,15}$"></div>
        </div>
        <div>
            <div>验证码</div>
            <div><input type="text" name="code" required></div>
        </div>
        <div>
            <div>性别</div>
            <div><input type="radio" name="sex" value="男">男
                <input type="radio" name="sex" value="女">女
                <input type="radio" name="sex" value="保密">保密
            </div>
        </div>
        <div>
            <div>生日</div>
            <div><input type="date" name="birthday" required></div>
        </div>
        <div>
            <div>身高</div>
            <div><input type="number" name="height" required minlength="1" maxlength="3" max="260">cm</div>
        </div>
        <div>
            <div>邮件</div>
            <div><input type="email" name="email" required></div>
        </div>
        <div>
            <div>爱好</div>
            <div><input type="checkbox" name="hobby" value="篮球">篮球
                <input type="checkbox" name="hobby" value="足球">足球
                <input type="checkbox" name="hobby" value="羽毛球">羽毛球
                <input type="checkbox" name="hobby" value="乒乓球">乒乓球
            </div>
        </div>
        <div>
            <div><input type="submit" value="提交"></div>
            <div><input type="reset" value="重置"></div>
        </div>
    </form>

</div>

</body>
</html>
